/* CSS Document */
/*rest*/

* {
    margin: 0px;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif, "宋体";
}

body {
    background: #FFF;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer;
}

img {
    border: none;
    vertical-align: middle;
}

// 去掉input[type=number]默认的加减号
input[type=number] {
    -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.floatL {
    float: left;
}

.floatR {
    float: right;
}

.clear:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0
}

.clear {
    zoom: 1
}

.main {
    min-width: 1200px;
    max-width: 1500px;
    margin: 0 auto;
}

//头部
.fluidCont {
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.header {
    width: 100%;
    height: 60px;
    position: relative;

    .logo {
        height: 50px;
        margin-top: 5px;
        margin-left: 20px;

        img {
            height: 100%;
        }
        p {
            display: none;
        }
    }

    .user {
        width: 120px;
        margin-top: 5px;

        .userBox {
            height: 50px;
            line-height: 50px;
            margin-bottom: 5px;

            .userIco {
                font-size: 40px;
                display: inline-block;
                position: relative;
                top: 10px;
                color: #31a5eb;
            }
            span {

            }

            .jt {
                font-size: 20px;
            }
        }
        .userMenu {
            background: rgba(0, 0, 0, 0.4);
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
            padding: 10px 0;
            display: none;
            position: absolute;
            width: 120px;

            li {
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                cursor: default;
                color: #FFF;
                text-align: center;

                &:hover {
                    background: rgba(0, 0, 0, 0.2);
                }

                i {
                    margin-right: 5px;
                }
            }
        }
    }
}

//footer
.footer {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #FFF;
    position: fixed;
    bottom: 0;

}

//修改密码
.changePWDBox {

    ul {
        margin-top: 20px;

        li {
            overflow: hidden;
            margin-bottom: 20px;

            span {
                display: block;
                width: 100px;
                font-size: 14px;
                float: left;
                text-align: right;
                line-height: 40px;
                padding-right: 10px;
            }

            input {
                width: 200px;
                display: block;
                height: 40px;
                line-height: 40px;
                float: left;
                padding: 0 10px;
                border: 1px solid #dbdbdb;
                border-radius: 5px;

            }
            input:focus {
                border-color: #1b6d85;
            }
        }

    }

    .submit {
        width: 120px;
        height: 40px;
        display: block;
        margin: 20px auto 0;
        border-radius: 5px;
        background: #1b6d85;
        border: none;
        color: #FFF;

    }

}




//login page
.loginPage {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("../image/loginBg.jpg");
}

.loginBox {
    width: 350px;
    position: absolute;
    left: 50%;
    margin-left: -175px;
    top: 40%;
    margin-top: -200px;

    .companyName {
        font-size: 14px;
        border-bottom: 1px solid #666;
        height: 40px;
        line-height: 40px;
        text-align: center;
        padding-bottom: 20px;
    }

    img {
        display: block;
        height: 70px;
        margin: 0 auto 20px;
    }

    form {
        overflow: hidden;
        padding: 20px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.8);

        ul {
            margin-top: 20px;
            li {
                overflow: hidden;
                margin-bottom: 20px;

                span {
                    display: block;
                    width: 60px;
                    font-size: 14px;
                    float: left;
                    text-align: right;
                    line-height: 40px;
                    padding-right: 10px;
                }

                input[type="text"], input[type="password"] {
                    width: 200px;
                    display: block;
                    height: 40px;
                    line-height: 40px;
                    float: left;
                    padding: 0 10px;
                    border: 1px solid #dbdbdb;
                    border-radius: 5px;

                }
                input:focus {
                    border-color: #1b6d85;
                }
            }

            .lastLi{
                text-align: right;

                input{
                    margin-left: 5px;
                }
                label{
                    margin-right: 40px;
                }
            }
        }

        .submit {
            width: 120px;
            height: 40px;
            display: block;
            margin: 20px auto 0;
            border-radius: 5px;
            background: #1b6d85;
            border: none;
            color: #FFF;

        }

        .skip{
            font-size: 14px;
            margin-top: 20px;
            text-align: center;

        }

    }

}

//end login page

//index================================================
.menuNav {
    width: 100%;
    margin: 10% auto 0;
    height: 200px;
    line-height: 200px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px;

    ul {
        width: 100%;

        li {
            display: inline-block;
            width: 33%;
            font-size: 48px;

            span{
                cursor: default;
            }
        }
    }
}

.smartCitySub {
    width: 33%;
    position: relative;
    display: none;

    ul {

        li {
            border-radius: 5px;
            display: block;
            margin: 0 auto 30px;
            width: 250px;
            height: 60px;
            line-height: 60px;
            font-size: 24px;
            color: #bbb;
            background: rgba(0, 0, 0, 0.2);

            a {
                color: #FFF;
            }

            &:hover {
                background: rgba(0, 0, 0, 0.4);
            }
        }
    }
}

.indexbg {
    background-size: cover;
    background-repeat: no-repeat;
}

.smartCity {
    color: #FFF;
}

.smartGarden, .smartHerding {
    color: #bbb;
    border-left: 1px solid rgba(255,255,255,0.3);
}

//end index===============================================

//
.toolBar{
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    margin: 20px 0;

    i{
        font-size: 20px;
        color: #2e94bf;
    }

    .curPos{
        float: left;
        margin-left: 20px;
    }

    .tools{
        overflow: hidden;
        float: right;

        li{
            float: left;
            width: 120px;
            margin-left: 15px;
            border: 1px solid #666;
            border-radius: 5px;
            text-align: center;
            height: 40px;

            a{
                display: block;
                width: 100%;
                height: 100%;
            }

        }
        select{
            float: left;
            width: 120px;
            margin-left: 15px;
            border: 1px solid #666;
            border-radius: 5px;
            text-align: center;
            height: 40px;
        }

    }


}


//设备详情页 设备位置
.equipmentPos{
    background: #f2f2f2;
    margin: 20px 0;
    font-size: 14px;
    padding: 20px 0;

    i{
        margin:0 5px 0 20px;
        color: #2e94bf;
        font-size: 20px;
    }
}

.equipmentInfoTable{

}

.fa-exclamation-triangle{
    color: #e3a900;
}


.redText{
    color: red;
}



.equipmentEdit{

    ul {
        margin-top: 20px;

        li {
            overflow: hidden;
            margin-bottom: 20px;

            span {
                height: 40px;
                display: block;
                width: 100px;
                font-size: 14px;
                float: left;
                text-align: right;
                line-height: 40px;
                padding-right: 10px;
            }

            input {
                width: 370px;
                display: block;
                height: 40px;
                line-height: 40px;
                float: left;
                padding: 0 10px;
                border: 1px solid #dbdbdb;
                border-radius: 5px;

            }

            select{
                height: 40px;
                border: 1px solid #dbdbdb;
                border-radius: 5px;
                text-align: center;
            }

            input:focus {
                border-color: #1b6d85;
            }
        }

    }

    .submit {
        width: 120px;
        height: 40px;
        display: block;
        margin: 20px auto 0;
        border-radius: 5px;
        background: #1b6d85;
        border: none;
        color: #FFF;

    }

}

//系统设置
.setup{
    overflow: hidden;
    margin: 10% auto 0;


    ul{
        text-align: center;
        li{
            width: 20%;
            float: left;

            .setupBox{
                width: 90%;
                padding: 20px;
                margin: 0 auto;
                height: 350px;
                border-radius: 20px;
                border: 1px solid #666;
                box-sizing: border-box;
                position: relative;


                .setupItem{
                    font-size: 20px;
                    font-weight: normal;
                    padding-bottom: 10px;
                    border-bottom: 1px solid #CCC;
                    margin-bottom: 10px;
                    color: #1b6d85;


                    i{
                        color: #1b6d85;
                        font-size: 24px;
                        margin-right: 10px;
                    }

                }

                .setupValue{
                    font-size: 14px;
                    text-align: center;
                    line-height: 20px;

                    p{
                        line-height: 20px;
                        margin: 15px 0;
                        font-size: 20px;

                        span{
                            //display: none;
                            margin-left: 5px;
                            font-size: 20px;
                        }
                        strong{
                            font-weight: normal;
                            font-size: 20px;
                        }

                        input{
                            display: none;
                            width: 50px;
                            height: 30px;
                            line-height: 30px;
                            margin: 0 5px;
                            font-size: 20px;
                            text-align: center;
                            border:1px solid #ccc;
                        }

                        input:disabled{
                            border:1px solid #DDD;
                            background-color:#FFF;
                            color:#666;
                            cursor: not-allowed;
                        }


                        .tel{
                            display: block;
                            width: 200px;
                            text-align: left;
                            font-size: 14px;
                            padding: 0 10px;
                        }

                        select{
                            display: none;
                            font-size: 14px;
                            text-align: center;
                        }
                    }
                    .p2{
                        font-size: 14px;
                    }


                }


                .btnBox,.btnBox1{
                    position: absolute;
                    width: 100%;
                    bottom: 20px;
                    left: 0;
                }
                .btnBox1{
                    display: none;
                }

            }

        }


    }


}


//添加设备
#dynamicTable{
    margin-top: 20px;
    margin-bottom: 0;

    thead td {
        background: #cfcfcf;
        height: 40px;
    }

    tr td {
         height: 40px;
        text-align: center;
    }

    i{
        font-size: 24px;
        position: relative;
        top: 5px;
        color: #B94846;
    }


    input{
        display: block;
        width: 100%;
        height: 30px;
        box-sizing: border-box;
        border: 0;
        padding: 0 10px;
    }

    .postr input{
        display: block;
        width: 45%;
        float: left;
    }


    .distpicker{
        display: inline-block;
        float: left;
        width: 50%;
    }
    .distpicker select{
        width: 30%;
        height: 30px;
        border: #eee;
    }

}

.addEqu{
    height: 50px;
    line-height: 50px;
    text-align: right;

    .addBtnBox{
        padding: 8px;
        box-sizing: border-box;
        width: 5%;
        float: right;
        text-align: center;
    }

    i{
        font-size: 24px;
    }
}

.equLastBox{
    text-align: center;
    margin: 20px 0;

}

//查询页面
.search{
    width: 100%;
    border: 1px solid #2D93CA;
    border-radius: 10px;
    margin: 20px 0 50px;
    padding: 20px;

    .form-group{
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    label{
        vertical-align: middle;
        padding-top: 0px !important;
    }

    .searchItem{
        display: inline-block;
        width: 70px;
        text-align: right;
        margin-right: 20px;
        vertical-align: middle;
        color: #2D93CA;
    }


    .distpicker{
        display: inline-block;
    }

    select{
        border: 1px solid #eee;
        height: 30px;
        line-height: 30px;

        vertical-align: middle;
    }

    input[name=equipmentAdd]{
        width: 300px;
        height: 30px;
        padding: 0 10px;
    }

    button{
        width: 200px;
    }


}

.bootstrap-table{
    margin-bottom: 50px;
}

.searchNo{
    font-size: 20px;
    text-align: center;
    padding: 20px;
}



